package com.ht.param.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "ht_projecttype_info", catalog = "htoa" )
public class ProjectTypeModel  implements java.io.Serializable{
private static final long serialVersionUID = 1L;
	
	private String id;
	
	private String text;
	
	private String name;
	
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false, length = 64)
	public String getId() {
		return id;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	@Column(name="text",length=64)
	public String getText() {
		return text;
	}
	
	public void setText(String text) {
		this.text = text;
	}
	@Column(name="name",length=64)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
}
